import { IPSAppErrorView } from './ipsapp-error-view';
import { PSAppUtilViewImpl } from './psapp-util-view-impl';

export class PSAppErrorViewImpl extends PSAppUtilViewImpl implements IPSAppErrorView {
  get errorCode(): string {
    return this.M.errorCode;
  }

  get cls(): string {
    return 'PSAppErrorViewImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'app.view.IPSAppErrorView') return true;
    return super.instanceof(cls);
  }
}
